//
// Created by Administrator on 2022/10/22.
//

#ifndef ALLTEST_DIALOG_ADVANCEDSETTING_H
#define ALLTEST_DIALOG_ADVANCEDSETTING_H

#include <QDialog>
#include <QLabel>
#include <QSpinBox>
#include <QPushButton>
#include <QLineEdit>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QImage>
#include <QColor>
#include <QSpacerItem>

QT_BEGIN_NAMESPACE
namespace Ui { class Dialog_AdvancedSetting; }
QT_END_NAMESPACE

class Dialog_AdvancedSetting : public QDialog {
Q_OBJECT

public:
    explicit Dialog_AdvancedSetting(QWidget *parent = nullptr);

    ~Dialog_AdvancedSetting() override;

    void ConfirmButtonClicked();
    void CancelButtonClicked();

private:
    Ui::Dialog_AdvancedSetting *ui;

    // 布局
    QVBoxLayout *mainVLayout;
    QHBoxLayout *HLayout1;
    QHBoxLayout *HLayout2;
    QHBoxLayout *HLayout3;
    QHBoxLayout *HLayout4;
    QHBoxLayout *HLayout5;
    QWidget *Widget1;
    QWidget *Widget2;
    QWidget *Widget3;
    QWidget *Widget4;
    QWidget *Widget5;

    // 多路服务器
    QLabel *dlfwqIP_Label;
    QLineEdit *dlfwqIP_LineEdit;
    QLabel *dlfwqPort_Label;
    QSpinBox *dlfwqPort_SpinBox;
    // 前置通讯
    QLabel *qztxIP_Label;
    QLineEdit *qztxIP_LineEdit;
    QLabel *qztxPort_Label;
    QSpinBox *qztxPort_SpinBox;
    // ESAM
    QLabel *esamfwqIP_Label;
    QLineEdit *esamfwqIP_LineEdit;
    QLabel *esamfwqPort_Label;
    QSpinBox *esamfwqPort_SpinBox;
    // 测试台体表位数
    QLabel *csttbws_Label;
    QSpinBox *csttbws_SpinBox;
    // 确定 取消
    QPushButton *confirm_PushBtn;
    QPushButton *cancel_PushBtn;
};


#endif //ALLTEST_DIALOG_ADVANCEDSETTING_H
